<?php

class MM_Model_Templete extends Mediad2_Model_Abstract
{
	/**
	 * const
	 */
	const STATUS_NO    	= 0;  //未启用
	const STATUS_YES    = 1;  //已启用
	
	/**
	 * var
	 */
	protected $tid;
	protected $name;
	protected $code;
	protected $desc;
	protected $type;
	protected $status;
	protected $uid;
	protected $addtime;
	
	/**
     * @return the $tid
     */
    public function getTid ()
    {
        return $this->tid;
    }

	/**
     * @return the $name
     */
    public function getName ()
    {
        return $this->name;
    }

	/**
     * @return the $code
     */
    public function getCode ()
    {
        return $this->code;
    }

	/**
     * @return the $desc
     */
    public function getDesc ()
    {
        return $this->desc;
    }

	/**
     * @return the $type
     */
    public function getType ()
    {
        return $this->type;
    }

	/**
     * @return the $status
     */
    public function getStatus ()
    {
        return $this->status;
    }

	/**
     * @return the $uid
     */
    public function getUid ()
    {
        return $this->uid;
    }

	/**
     * @return the $addtime
     */
    public function getAddtime ()
    {
        return $this->addtime;
    }

	/**
     * @param field_type $tid
     */
    public function setTid ($tid)
    {
        $this->tid = $tid;
    }

	/**
     * @param field_type $name
     */
    public function setName ($name)
    {
        $this->name = $name;
    }

	/**
     * @param field_type $code
     */
    public function setCode ($code)
    {
        $this->code = $code;
    }

	/**
     * @param field_type $desc
     */
    public function setDesc ($desc)
    {
        $this->desc = $desc;
    }

	/**
     * @param field_type $type
     */
    public function setType ($type)
    {
        $this->type = $type;
    }

	/**
     * @param field_type $status
     */
    public function setStatus ($status)
    {
        $this->status = $status;
    }

	/**
     * @param field_type $uid
     */
    public function setUid ($uid)
    {
        $this->uid = $uid;
    }

	/**
     * @param field_type $addtime
     */
    public function setAddtime ($addtime)
    {
        $this->addtime = $addtime;
    }

	

}